package com.gemharmony;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import feign.RequestInterceptor;
import feign.RequestTemplate;

@Configuration
public class FeignConfig {

	@Bean
	public RequestInterceptor requestInterceptor(){
		return new RequestInterceptor() {

		@Override
		public void apply(RequestTemplate template) {
			//template.header("Authorization","");
			}
        };
    }
}
